package org.lq.ssm.controller;

import org.lq.ssm.Web.HttpResult;
import org.lq.ssm.po.UserPO;
import org.lq.ssm.service.UserService;
import org.lq.ssm.vo.UserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/job")
public class JobController {

    @Autowired
    UserService userService;



    @GetMapping("getallJob.do")
    public HttpResult<List<UserVO>> getAllUser(String level){
        //List<UserPO> allUser = userService.getAllUser(level);

        //return HttpResult.ok(allUser,"数据没问题");
        return null;
    }
}
